package com.daleige;


import com.daleige.common.FileTools;
import com.daleige.common.security.Rc4;

import java.io.IOException;

public class App {

    public static void main(String[] agrs) throws IOException {

        String KK = "43007310000,88a806dd09b778465f2f36ad0324a94f3";
        FileTools.setFile(Rc4.encry_RC4_byte(KK, "weixiao"), "D:\\", "config.txt");
        System.out.println(Rc4.decry_RC4(FileTools.getFile("D:\\config.txt"), "weixiao"));

//        FileTools.setConfigIni("D:\\config.txt","weixiao","canshu","good");
    }
}
